package com.sun.entity;

import java.io.Serializable;

/**
 * @author SunRui
 * @description 借阅表
 * @date 2024/7/4 20:26
 */
public class Borrow implements Serializable {
    private static final long serialVersionUID = 3766981238977255447L;
    private int id;//借阅id
    private String borrowDate;//借阅日期
    private int bookId;//图书id
    private int borrowDays;//借阅天数
    private int renewDays;//续借天数
    private int back;//是否归还
    private int readerId;//读者id
    private String bookName;//书名

    @Override
    public String toString() {
        return "Borrow{" +
                "id=" + id +
                ", borrowDate='" + borrowDate + '\'' +
                ", bookId=" + bookId +
                ", borrowDays=" + borrowDays +
                ", renewDays=" + renewDays +
                ", back=" + back +
                ", readerId=" + readerId +
                ", bookName='" + bookName + '\'' +
                '}';
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public int getReaderId() {
        return readerId;
    }

    public void setReaderId(int readerId) {
        this.readerId = readerId;
    }

    public int getBack() {
        return back;
    }

    public void setBack(int back) {
        this.back = back;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getBorrowDate() {
        return borrowDate;
    }

    public void setBorrowDate(String borrowDate) {
        this.borrowDate = borrowDate;
    }

    public int getBookId() {
        return bookId;
    }

    public void setBookId(int bookId) {
        this.bookId = bookId;
    }

    public int getBorrowDays() {
        return borrowDays;
    }

    public void setBorrowDays(int borrowDays) {
        this.borrowDays = borrowDays;
    }

    public int getRenewDays() {
        return renewDays;
    }

    public void setRenewDays(int renewDays) {
        this.renewDays = renewDays;
    }
}
